package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserPointLogDao;
import com.frogs.ucenter.entity.UserPointLog;
import com.frogs.ucenter.service.UserPointLogService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userPointLogService")
public class UserPointLogServiceImpl extends BaseServiceImpl<UserPointLog> implements UserPointLogService {
    @Autowired
    private UserPointLogDao userPointLogDao;

    public UserPointLogServiceImpl() {
        super();
    }

    public UserPointLogDao getUserPointLogDao() {
        return userPointLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserPointLog> getBaseDao() {
        return userPointLogDao;
    }

    public void setUserPointLogDao(UserPointLogDao userPointLogDao) {
        this.userPointLogDao = userPointLogDao;
    }
}